package com.solution.pc.order.dao;

import java.util.List;
import java.util.Map;

import com.solution.pc.order.entity.OrderWxpayNotifyLogEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 订单微信支付日志DAO接口
 * @author xkl
 * @date 2017-11-24 16:46:40
 */
public interface OrderWxpayNotifyLogDao extends BaseDao<OrderWxpayNotifyLogEntity> {
	
	/**
	 * 保存订单微信支付日志
	 * @param orderWxpayNotifyLogEntity
	 * @return
	 * @author xkl
	 * @date 2017-11-24 16:46:40
	 */
	public long saveOrderWxpayNotifyLog(OrderWxpayNotifyLogEntity orderWxpayNotifyLogEntity);

	/**
	 * 分页查询订单微信支付日志信息
	 * @param pageParam 分页对象
	 * @param orderWxpayNotifyLog 分页参数
	 * @return PageBean 分页参数及数据
	 * @author xkl
	 * @date 2017-11-24 16:46:40
	 */
	public PageBean listOrderWxpayNotifyLogPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新订单微信支付日志
	 * @param orderWxpayNotifyLogEntity
	 * @return
	 * @author xkl
	 * @date 2017-11-24 16:46:40
	 */
	public int updateOrderWxpayNotifyLog(OrderWxpayNotifyLogEntity orderWxpayNotifyLogEntity);


	/**
	 * 删除订单微信支付日志角色
	 * @param id
	 * @return
	 * @author xkl
	 * @date 2017-11-24 16:46:40
	 */
	public int deleteOrderWxpayNotifyLogById(Long id);
	
	/**
	 * 根据订单微信支付日志类型获取订单微信支付日志
	 * @param param
	 * @return
	 * @author xkl
	 * @date 2017-11-24 16:46:40
	 */
	public List<OrderWxpayNotifyLogEntity> listOrderWxpayNotifyLog( Map<String, Object> param);
}
